package com.fxp.project.jiuselu.web.business.v1.controller.sample;


import com.fxp.project.jiuselu.web.base.controller.BaseController;
import com.fxp.project.jiuselu.web.models.sample.service.ISapmleGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 样品订单明细Controller小程序如何获取客户ip属地
 *
 * @author Jason.Wang
 * @date 2022-06-08
 */
@RestController
@RequestMapping("/sample/goods")
public class SapmleGoodsController extends BaseController
{
    @Autowired
    private ISapmleGoodsService sapmleGoodsService;


//    /**
//     * 新增样品订单明细
//     */
//    @PreAuthorize("@ss.hasPermi('system:goods:add')")
//    @Log(title = "样品订单明细", businessType = BusinessType.INSERT)
//    @PostMapping
//    public AjaxResult add(@RequestBody SapmleGoods sapmleGoods)
//    {
//        return toAjax(sapmleGoodsService.insertSapmleGoods(sapmleGoods));
//    }


}
